package com.itcam.lease.web.admin.service.impl;

import com.itcam.lease.model.entity.FeeKey;
import com.itcam.lease.web.admin.mapper.FeeKeyMapper;
import com.itcam.lease.web.admin.service.FeeKeyService;
import com.itcam.lease.web.admin.vo.fee.FeeKeyVo;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class FeeKeyServiceImpl extends ServiceImpl<FeeKeyMapper, FeeKey>
    implements FeeKeyService{

    @Autowired
    private FeeKeyMapper feeKeyMapper;

    @Override
    public List<FeeKeyVo> feeInfoList() {
        return feeKeyMapper.feeInfoList();
    }

    /**
     * 查询全部杂费名称和杂费值列表
     * @return
     */
    @Override
    public List<FeeKeyVo> listFeeInfo() {
        return feeKeyMapper.listFeeInfo();
    }
}




